﻿using AutoMapper;
using BCDto.Sim.CompanyBelongArea;
using BCEntity.Sim.CompanyBelongArea;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCService.MapperProfiles.Sim.CompanyBelongArea
{
    public class CompanyBelongAreaProfile : Profile
    {
        public CompanyBelongAreaProfile()
        {

            //公司归属区域
            CreateMap<CompanyBelongAreaDto, CompanyBelongAreaEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<CompanyBelongAreaRequestDto, CompanyBelongAreaEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<CompanyBelongAreaEntity, CompanyBelongAreaDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}
